﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Mitek.Web.ViewModels
{
    public class UserRegisterViewModel
    {
        [Required(ErrorMessage = "请填写姓名！")]
        public string Name { get; set; }

        [Required(ErrorMessage = "请填写手机！")]
        public string Mobile { get; set; }

        [Required(ErrorMessage = "请填写身份！")]
        public string RoleID { get; set; }

        [Required(ErrorMessage = "请填写省份！")]
        public int Province { get; set; }

        [Required(ErrorMessage = "请填写城市！")]
        public int City { get; set; }

        [Required(ErrorMessage = "请填写医院！")]
        public int Hospital { get; set; }

        [Required(ErrorMessage = "请填写科室！")]
        public string Deparment { get; set; }

        [Required(ErrorMessage = "请填写职称！")]
        public string DoctorOffice { get; set; }

        public string DoctorCertificate { get; set; }

        /// <summary>
        /// 手机验证码
        /// </summary>
        [Required(ErrorMessage = "请填写验证码！")]
        public string VerifyCode { get; set; }

    }
}